﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcSDK.Domain
{
    /// <summary>
    /// 退货记录单
    /// </summary>
    [Serializable]
    public partial class AT_ReturnGoods
    {
        public AT_ReturnGoods()
        { }
        #region Model
        private long _id;
        private long _companyid;
        private DateTime? _createtime;
        private string _createby;
        private DateTime? _updatetime;
        private string _updateby;
        private int? _status;
        private string _dcode;
        private long? _salerid;
        private string _provid;
        private string _cityid;
        private string _countyid;
        private DateTime? _ywdate;
        private string _reason;
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public long CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreateBy
        {
            set { _createby = value; }
            get { return _createby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UpdateBy
        {
            set { _updateby = value; }
            get { return _updateby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 单据号
        /// </summary>
        public string Dcode
        {
            set { _dcode = value; }
            get { return _dcode; }
        }
        /// <summary>
        /// 销售终端
        /// </summary>
        public long? SalerId
        {
            set { _salerid = value; }
            get { return _salerid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string ProvId
        {
            set { _provid = value; }
            get { return _provid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CountyId
        {
            set { _countyid = value; }
            get { return _countyid; }
        }
        /// <summary>
        /// 业务日期
        /// </summary>
        public DateTime? YwDate
        {
            set { _ywdate = value; }
            get { return _ywdate; }
        }
        /// <summary>
        /// 退货原因
        /// </summary>
        public string Reason
        {
            set { _reason = value; }
            get { return _reason; }
        }
        #endregion Model
        #region [扩展类]
        //单位名
        public string SupplierName { set; get; }

        //单位类型
        public int SupplierType { set; get; }
        #endregion
    }
}
